package com.cn.springcloudwechat.mapper.mapper.vaccine;

import com.cn.springcloudwechat.model.YmChildrenOrderVaccination;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface YmChildrenOrderVaccinationMapper {
    int deleteByPrimaryKey(Long orderVaccinationId);

    int insert(YmChildrenOrderVaccination record);

    int insertSelective(YmChildrenOrderVaccination record);

    YmChildrenOrderVaccination selectByPrimaryKey(Long orderVaccinationId);

    int updateByPrimaryKeySelective(YmChildrenOrderVaccination record);

    int updateByPrimaryKey(YmChildrenOrderVaccination record);

    /**
     * 修改疫苗接种状态
     * @param orderVaccinationId
     */
     void  updateUserOrderState(@Param("orderVaccinationId") Long orderVaccinationId);

    /**
     * 获取挂号数
     * @param orderDate
     * @return
     */
     Integer getRowNumber(@Param("orderDate") String  orderDate,@Param("stationID")Long stationID);

}